Skip to content

Add ensure_components for multi-polygon AOI coverage#14

Merged
NewGraphEnvironment merged 1 commit intomainfrom
issue-12-ensure-components
Mar 7, 2026
Merged

Add ensure_components for multi-polygon AOI coverage#14
NewGraphEnvironment merged 1 commit intomainfrom
issue-12-ensure-components

Conversation

@NewGraphEnvironment
Copy link
Owner

Summary

  • Add ensure_components parameter to fly_select() — seeds greedy selection with one photo per disconnected AOI polygon component before optimizing total coverage
  • 7 new tests covering component seeding, monotonic coverage, single-polygon AOI, and mode interactions
  • Vignette converted to bookdown with numbered sections and figure cross-references
  • Spatial filtering folded into footprint section with comparison table

Fixes #12
Relates to NewGraphEnvironment/sred-2025-2026#17

Test plan

  • devtools::test() — 75 tests pass
  • Vignette builds with bookdown cross-references
  • ensure_components = TRUE selects 10 photos (vs 3 without) covering more of 34 AOI components

🤖 Generated with Claude Code

Guarantee at least one photo per disconnected AOI component before
greedy selection. Includes 7 new tests, vignette section with bookdown
figure cross-references, and spatial filtering table.

Fixes #12

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@NewGraphEnvironment NewGraphEnvironment merged commit fbce76b into main Mar 7, 2026
1 check passed
@NewGraphEnvironment NewGraphEnvironment deleted the issue-12-ensure-components branch March 7, 2026 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ensure_components option to fly_select for multi-polygon AOI coverage

1 participant